.w-reslayer-scroll {
	@media (max-width: 640px) {
		overflow-y: auto;
		overflow-x: hidden;
	}
}

.w-reslayer {
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
	padding: 20px;
	@media (max-width: 640px) {
		padding: 11px 10px 16px;
		width: 100%;
	}
	&-top,
	&-botton {
		display: table;
		width: 100%;
	}
	&-top {
		padding-bottom: 16px;
		border-bottom: 1px solid #ededed;
	}
	&-image-b {
		display: block;
		margin: 0;
		width: 100%;
		height: 168px;
		padding: 0;
		img {
			margin: auto;
			width: 138px;
			height: 168px;
		}
	}
	&-test-b {
		display: block;
		line-height: 24px;
		text-align: center;
		@media (max-width: 640px) {
			text-align: left;
		}
		h5 {
			font-size: 18px;
			margin-top: 5px;
			@media (max-width: 640px) {
				font-size: 12px;
			}
		}
		p {
			font-size: 14px;
			@media (max-width: 640px) {
				font-size: 12px;
				line-height: 1.66666em;
			}
		}
	}
	&-image,
	&-image-b {
		display: table-cell;
		padding-right: 20px;
		width: 160px;
		height: 212px;
		@media (max-width: 640px) {
			vertical-align: top;
			width: 80px;
			height: 106px;
			padding-right: 10px;
		}
		img {
			display: block;
			width: 160px;
			height: 212px;
			@media (max-width: 640px) {
				width: 80px;
				height: 106px;
			}
		}
	}
	&-image-b {
		padding: 0;
		margin: auto;
		width: 138px;
		height: 168px;
		img {
			width: 138px;
			height: 168px;
		}
		@media (max-width: 640px) {
			margin: none;
			padding-right: 10px;
			width: 80px;
			height: 106px;
			img {
				width: 80px;
				height: 106px;
			}
		}
	}
	&-test,
	&-test-b {
		display: table-cell;
		vertical-align: top;
		position: relative;
		h4 {
			color: #333333;
			font-size: 24px;
			line-height: 45px;
			margin: 0;
			width: 480px;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			display: inline-block;
			@media (max-width: 640px) { 
				display: inline;
				font-size: 14px;
				line-height: 18px;
				font-weight: normal;
				width: none;
				white-space: normal;
			}
		}
	}
	&-image-b,
	&-test-b {
		display: block;
		@media (max-width: 640px) {
			display: table-cell;
		}
	}
	&-test-b {
		padding-top: 6px;
		@media (max-width: 640px) {
			padding-top: 0;
		}
	}
	&-ixx {
		float: right;
		margin-top: 15px;
		@media (max-width: 640px) {
			float: none;
			margin-top: none;
		}
		.ixx-box {
			display: inline-block;
			background: #e1e1e1;
			position: relative;
			height: 18px;
			width: 100px;
			@media (max-width: 640px) {
				height: 9px;
				width: 50px;
			}
		}
		.ixx-flt {
			position: absolute;
			z-index: 1;
			height: 100%;
			background: #e94658;
			width: 50%;
		}
		.ixx-item {
			display: block;
			background: url(xx.png);
			width: 100%;
			height: 100%;
			position: absolute;
			z-index: 1;
			@media (max-width: 640px) {
				background-size: 10px;
			}
		}
		span {
			color: #e94658;
			font-size: 16px;
			vertical-align: 2px;
			@media (max-width: 640px) {
				font-size: 9px;
			}
		}
	}
	&-tags {
		margin-right: -24px;
		font-size: 14px;
		line-height: 30px;
		@media (max-width: 640px) {
			font-size: 9px;
			line-height: 15px;
		}
		span {
			display: inline-block;
			margin-right: 18px;
			color: #999;
			i {
				position: relative;
				color: #666666;
				&:after {
					content: '|';
					position: absolute;
					right: -12px;
					top: -5px;
					@media (max-width: 640px) {
						top: 0;
					}
				}
			}
			div {
				overflow: hidden;
			}
			em {
				color: #333333;
				margin-right: 8px;
				display: inline-block;
			}
			&:last-child {
				i {
					&:after {
						content: '';
					}
				}
			}
		}
	}
	&-z99 {
		line-height: 40px;
		@media (max-width: 640px) {
			line-height: 22px;
		}
		.z99-tags {
			background: #e94658;
			color: #fff;
			margin-right: 4px;
			vertical-align: 2px;
			line-height: 18px;
			height: 18px;
			font-size: 14px;
			padding: 0 3px;
			border-radius: 2px;
			@media (max-width: 640px) {
				line-height: 9px;
				height: 9px;
				font-size: 7px;
				padding: 0 2px;
			}
		}
		span {
			color: #e94658;
			margin-right: 10px;
			font-size: 24px;
			vertical-align: -.1em;
			@media (max-width: 640px) {
				font-size: 14px;
			}
		}
		em {
			color: #999;
			font-size: 14px;
			text-decoration: line-through;
			@media (max-width: 640px) {
				font-size: 9px;
			}
		}
	}
	&-shop {
		display: inline-block;
		background: #ffae00;
		color: #fff;
		border-radius: 3px;
		text-align: center;
		width: 190px;
		height: 48px;
		line-height: 48px;
		margin-top: 5px;
		font-size: 20px;
		font-weight: bold;
		@media (max-width: 640px) {
			width: 109px;
			height: 26px;
			line-height: 26px;
			margin-top: 0;
			font-size: 14px;
			font-weight: normal;
		}
	}
	&-title {
		font-size: 18px;
		line-height: 32px;
		color: #2a7acc;
		padding: 10px 0 5px;
		margin: 0;
		@media (max-width: 640px) {
			color: #2eacf0;
			font-size: 15px;
			line-height: 16px;
			font-weight: normal;
		}
	}
	&-content {
		color: #333;
		font-size: 14px;
		line-height: 24px;
		@media (max-width: 640px) {
			font-size: 12px;
			line-height: 20px;
		}
	}
	&-bottom {
		font-size: 12px;
		line-height: 1.5em;
		text-align: center;
		h5,
		p {
			margin: 0;
		}
		h5 {
			color: #e94658;
			@media (max-width: 640px) {
				font-weight: normal;
			}
		}
		p {
			color: #333;
		}
	}
	&-left {
		width: 580px;
		float: left;
		height: 260px;
		overflow: auto;
		margin-top: 20px;
		@media (max-width: 640px) {
			margin-top: 0;
			overflow: inherit;
			height: 260px;
		}
	}
	&-right {
		width: 198px;
		float: left;
		margin-left: 23px;
		@media (max-width: 640px) {
			width: auto;
			margin-left: 0;
		}
	}
}

.layui-layer .layui-layer-setwin .layui-layer-close2 {
	right: -3px;
	top: -8px;
	background: none;
	width: 12px;
	height: 12px;
	@media (max-width: 640px) {
		right: -8px;
	}
	&:after {
		content: 'x';
		font-size: 14px;
		color: #ccc;
		font-size: 18px;
		@media (max-width: 640px) {
			font-size: 14px;
		}
	}
}

.layui-layer.layui-layer-dialog .layui-layer-content {
	padding: 0;
}